<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>系统首页</title>
    <link rel="stylesheet" href="{$CSS}/bootstrap3.3.7.min.css">
    <style>
        em{
            font-size: 20px;
            color: red;
            vertical-align: middle;
            line-height: 20px;
            height: 20px;
            display: inline-block;
        }
        .mar{
            margin-right:10px
        }
        .pic{
        	float:none;margin-bottom:10px
        }
        .pic img{
        	width: 100px;
    		height: 100px;
    	}
    </style>
</head>
<body style="overflow-x:hidden;">
    <div style="padding:10px;border-bottom:1px solid #eee;font-size:15px;font-weight:700">公众号配置</div>
    <div style="margin:40px auto;">
        <div class="bs-example" data-example-id="simple-horizontal-form">
            <form class="form-horizontal" method="post" action="" name="clientForm" id="clientForm" onsubmit="return checksub();">{tk()}{$u->hidden('id')}				
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label"><em>*</em>APPID:</label>
                    <div class="col-sm-3">
						 {$u->text('appid','class="form-control"')}
                    </div>
                </div>
				<div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label"><em>*</em>AppSecret:</label>
                    <div class="col-sm-3">
						 {$u->text('appsecret','class="form-control"')}
                    </div>
                </div>
                <div class="form-group">
                   <label for="inputPassword3" class="col-sm-2 control-label"></label>
                    <div class="col-sm-6">
						<input class="btn btn-success mar" type="hidden" name="action" value="add" />
                        <input class="btn btn-success mar" name="btnAdd" ID="btnAdd" type="submit" value="提交">
                        <input class="btn btn-warning mar" name="reset" ID="Submit1" type="reset" value="重置">
                        <input class="btn btn-danger mar"  name="back" ID="back" type="button" onclick="history.back();" value="返回">
                        </div>
                </div>
				
            </form>
        </div>

    </div>
</body>
<script type="text/javascript">
function ecopyUrl(){
	var e = document.getElementById("eUrl"); 
    e.select(); // 选择对象 
    document.execCommand("Copy"); // 执行浏览器复制命令
}
	 $(function(){
	  $(":radio").click(function(){
		if($(this).val() == 1){
			$("#div1").hide();
			$("#div2").show();	
		}else{
			$("#div1").show();	
			$("#div2").hide();	
		}
	  });
	 });
	</script>
</html>